package com.ybu.oodd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = "com.ybu.oodd")
@EnableScheduling  // 启用定时任务
public class OoddApplication {
    public static void main(String[] args) {
        SpringApplication.run(OoddApplication.class, args);
    }
}
